package com.resataurant.Service;

import com.resataurant.Dto.AdminDto;
import com.resataurant.Entity.Dish;
import com.resataurant.Entity.User;

import java.util.List;

public interface AdminService {
    public AdminDto login(String username, String password);
    public int addDish(Dish dish);
    public List<Dish> searchDish(String dishName);
    public List<Dish> searchDish();
    public Dish searchDishById(String id);
    public int updateDish(Dish dish,String oldid);
    public int deleteDish(String id);
    public List<User> searchUser();
    public List<User> searchUser(String username);
    public User userDetail(User user);
}
